# -----install php(with apache)-----
wget -P /opt/ http://am1.php.net/distributions/php-7.1.10.tar.gz
tar xzf /opt/php-7.1.10.tar.gz -C /opt/
cd /opt/php-7.1.10/ && sudo ./configure --prefix=/home/apple/php7/ --with-apxs2=/home/apple/apache/bin/apxs --with-config-file-path=/home/apple/php7/etc/ --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-curl --with-gd --enable-mbstring --enable-fpm --enable-mysqlnd
cd /opt/php-7.1.10/ && sudo make 
cd /opt/php-7.1.10/ && sudo make install 
